package com.biz.primus.model.tms.vo;

import java.util.List;

/**
 * Created by tanghaibin on 2017/1/5.
 */
public class DeliveryItemVo {

    /**
     * 订单编号
     */
    private String orderCode;
    /**
     * 配送单号
     */
    private String deliveryCode;
    /**
     * 配送单明细
     */
    private List<Item> items;

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getDeliveryCode() {
        return deliveryCode;
    }

    public void setDeliveryCode(String deliveryCode) {
        this.deliveryCode = deliveryCode;
    }

    public List<Item> getItems() {
        return items;
    }

    public void setItems(List<Item> items) {
        this.items = items;
    }

    public class Item {
        /**
         * 商品编号
         */
        private String productCode;
        /**
         * 商品名称
         */
        private String productName;
        /**
         * 商品购买数量
         */
        private Integer purchaseQuantity;

        public Item(String productCode, String productName, Integer purchaseQuantity) {
            this.productCode = productCode;
            this.productName = productName;
            this.purchaseQuantity = purchaseQuantity;
        }

        public String getProductCode() {
            return productCode;
        }

        public String getProductName() {
            return productName;
        }

        public Integer getPurchaseQuantity() {
            return purchaseQuantity;
        }
    }
}
